﻿<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>流程定义</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<link rel="stylesheet" th:href="@{/css/style.css}" type="text/css"/>
<link rel="stylesheet" th:href="@{/css/main.css}" type="text/css"/>

<body>
<div id="main">
    <div class="sort_switch">
        <ul id="TabsNav">
            <li class="selected"><a href="#">流程定义 </a></li>
        </ul>
    </div>
    <div class="sort_content">
        <table class="tableHue1" width="100%" border="1" bordercolor="#a4d5e3" cellspacing="0" cellpadding="0">
            <thead>
            <tr>
                <td width="10%"><strong>名称</strong></td>
                <td width="15%"><strong>Key</strong></td>
                <td width="15%"><strong>流程ID </strong></td>
                <td width="15%"><strong>流程文件</strong></td>
                <td width="15%"><strong>流程图</strong></td>
                <td width="20%"><strong>状态</strong></td>
            </tr>
            </thead>
            <tbody id="">
            <c:forEach items="${defs}" var="def">
                <tr th:each="pd:${pds}">
                    <td th:text="${pd.name}"></td>
                    <td th:text="${pd.key}"></td>
                    <td th:text="${pd.id}"></td>
                    <td th:text="${pd.resourceName}"></td>
                    <td th:text="${pd.diagramResourceName}"></td>
                    <td>
                        <img th:src="@{/images/check_error.gif}" th:if="${pd.suspended == true}" title="中止"/>
                        <img th:src="@{/images/icon_next2.gif}" th:if="${pd.suspended == false}" title="激活"/>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>
